﻿namespace Repositories.VM;

/// <summary>
/// 角色页面模型
/// </summary>
public class RoleVM
{
    /// <summary>
    /// 主键
    /// </summary>
    public int Id { get; set; }
    /// <summary>
    /// 名称
    /// </summary>
    public string Name { get; set; }
    /// <summary>
    /// 关联用户数
    /// </summary>
    public int UserCount { get; set; }
    /// <summary>
    /// 模块id数组
    /// </summary>
    public List<int> Features { get; set; }
    /// <summary>
    /// 权限
    /// </summary>
    public string FeatureNames { get; set; }
    /// <summary>
    /// 状态（1：启用，2：禁用）
    /// </summary>
    public int Enable { get; set; }
}
